package com.pan.behavioral.iterator.itr;

import java.util.Iterator;
import java.util.function.Consumer;

public interface MyIterator<T> {


    boolean hasNext();
    T next();
    void remove() ;
    void forEachRemaining(Consumer<T> action);
}
